Skip to content

feat(web): add peer card seed kits#20

Merged
offendingcommit merged 2 commits into
mainfrom
feat/peer-card-seed-kits
May 28, 2026
Merged

feat(web): add peer card seed kits#20
offendingcommit merged 2 commits into
mainfrom
feat/peer-card-seed-kits

Conversation

@offendingcommit
Copy link
Copy Markdown
Owner

Author reusable "kits" of peer-card lines once and apply them across instances with a prefix-dedupe merge preview — kills repetitive identity re-entry when seeding multiple Honcho instances.

  • lib/seedKits.ts — kit model + merge logic (localStorage-only)
  • seed-kits/ — list, create form, apply dialog
  • New /seed-kits route + sidebar nav entry
  • 19 unit tests

Stacked on #19

Base is feat/scoped-client-foundation (uses useScopedPeerCard/useScopedPeers). GitHub will retarget this to main once #19 merges. The Compare nav link from the original fork commit was dropped (Compare UI isn't part of this adoption).

Credit

Cherry-picked from @BenSheridanEdwards's fork (feat/peer-card-seed-kits), authorship preserved. Thanks Ben!

Verification

make check — lint + typecheck + 30/30 tests pass locally.

Agents and others added 2 commits May 28, 2026 13:53
Adds a /seed-kits page where users can author named "kits" of card
lines (e.g. "Personal core", "Work context") and one-click apply them
to any peer across any registered instance. Removes the chore of
manually re-typing the same identity facts into multiple agents.

Built-in starter kits are read-only but forkable. User kits live in
localStorage. The apply flow shows a side-by-side merge preview that
dedupes by the line's prefix (text before the first ":"), so applying
a kit with "Name: Ben Sheridan-Edwards" to a peer whose card already
has "Name: Ben" replaces the line rather than duplicating it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Moves docs/seed-kits/*.png into docs/seed-kits/light/.
- Adds docs/seed-kits/dark/ with the same three panels rendered in
  the dark theme.
- Updates the capture script to loop over both themes by setting
  openconcho:theme in localStorage and the matching colorScheme on
  the browser context.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@offendingcommit offendingcommit changed the base branch from feat/scoped-client-foundation to main May 28, 2026 19:20
@offendingcommit offendingcommit merged commit a17b577 into main May 28, 2026
@offendingcommit offendingcommit deleted the feat/peer-card-seed-kits branch May 28, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant